# 字典
# message = "abcac"
# dict1 = {}
# for item in message:
#     # print(item)
#     if item not in dict1:
#         dict1[item] = 1
#     else:
#         dict1[item] += 1
# for key, value in dict1.items():
#     print("%s:%d" % (key, value))

# list1 = [55, 66, 99, 54, 33, 98, 15, 22, 78]
# # 排序
# for i in range(len(list1) - 1):
#     for j in range(i + 1, len(list1)):
#         if list1[i] > list1[j]:
#             list1[i], list1[j] = list1[j], list1[i]
#
# print(list1)

numbers = ["A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"]
colors = ["黑桃♠", "梅花♣", "方块♦", "红桃♥"]

puker = [i + j for i in numbers for j in colors]
puker.append("大王🃏")
puker.append("小王🃏")

print(len(puker))

for i in puker:
    print(i)
